package com.literature.search.file.service;

import com.literature.search.core.entity.R.AjaxJson;
import com.literature.search.core.entity.UploadRecord;
import com.literature.search.core.entity.dto.BasePageDTO;

/**
 * @ClassName UploadRecordService
 * @Description TODO
 * @Author abin
 * @Date 2023/3/29 18:11
 * @Version 1.0
 */
public interface UploadRecordService {

    //用户查询上传记录
    AjaxJson findUploadRecordByUserId(BasePageDTO page);

    //添加上传记录
    boolean insertUploadRecord(UploadRecord record);

//    UploadRecord getUploadRecordInfo(String fileId);

    //修改审核状态
    boolean updateStatus(String userId, String fileId, Integer status);
}
